package xyz.suancaiyu.eurekafeignclient.client.hystrix;

import org.springframework.stereotype.Component;
import xyz.suancaiyu.eurekafeignclient.client.EurekaClientFeign;

@Component
public class HiHystrix implements EurekaClientFeign {

    @Override
    public String sayHiFromClientEureka(String name) {
        return "hi, " + name + ",sorry,error![Feign Hystrix]";
    }
}
